﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PaperUserList.aspx.cs" Inherits="sysadmin_PaperManager_PaperUserList" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <link href="../../css/1/css/css.css" type="text/css" rel="stylesheet" />
</head>
<body class="bodymain">
    <form id="form1" runat="server">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="titbg_right">
            <tr>
                <td class="titbg_left">
                    <asp:Label ID="lbl_InfoTitle" runat="server" Text="试卷成绩查询"></asp:Label></td>
            </tr>
        </table>
        <br />
        <table border="0" cellpadding="0" cellspacing="0" class="btnbg" width="100%">
            <tr>
                <th>
                    <asp:Label ID="lbl_Username" runat="server" Text="用户名称"></asp:Label></th>
                <td >
                    <asp:TextBox ID="txt_username" runat="server" Width="120px"></asp:TextBox></td>
                <th>
                    <asp:Label ID="lbl_Readstate" runat="server" Text="批阅状态"></asp:Label></th>
                <td >
                    <asp:DropDownList ID="dpdlst_readstate" runat="server" Width="120px">
                        <asp:ListItem Selected="True" Value="2">全部</asp:ListItem>
                        <asp:ListItem Value="1">已批阅</asp:ListItem>
                        <asp:ListItem Value="0">未批阅</asp:ListItem>
                    </asp:DropDownList></td>
                <td>
                    <asp:Button ID="btn_seach" runat="server" Text="查询" CssClass="inputBotton2" OnClick="btn_seach_Click" />
                    <asp:Button ID="btn_Back" runat="server" Text="返回" CssClass="inputBotton2" /></td>
            </tr>
        </table>
   
        <asp:GridView ID="gvUserList" runat="server" AutoGenerateColumns="False" GridLines="None"
            BorderWidth="0px" CssClass="mainList" OnRowCommand="gvUserList_RowCommand"
            OnRowDataBound="gvUserList_RowDataBound">
            <Columns>
                <asp:BoundField DataField="UPHistoryID" HeaderText="标识" Visible="False" />
                <asp:BoundField DataField="ProjectName" HeaderText="方案名称" />
                <asp:BoundField DataField="UserName" HeaderText="用户名" />
                <asp:BoundField DataField="RealName" HeaderText="真实姓名" Visible="false" />
                <asp:BoundField DataField="UPHistoryStartTime" HeaderText="开始时间" />
                <asp:BoundField DataField="UPHistorySubmitTime" HeaderText="提交时间" />
                <asp:BoundField DataField="UPHistoryReadState" HeaderText="试卷状态" />
                <asp:BoundField DataField="UPHistoryReadTime" HeaderText="评卷时间" />
                <asp:BoundField HeaderText="评卷人" DataField="UPHistoryReadUserID" />
                <asp:TemplateField HeaderText="操作">
                    <ItemTemplate>
                     <asp:LinkButton ID="btn_view" runat="server" CommandName="btn_view" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "url") %>'>预览</asp:LinkButton>
                        
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <EmptyDataTemplate>
                <%=GetLanageValueByKey("NoContent_msg", PowerCreator.LMS.Language.LanagetItemType.Page)%>
            </EmptyDataTemplate>
        </asp:GridView>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td align="center">
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" HorizontalAlign="Center" OnPageChanged="AspNetPager1_PageChanged"
                        ShowCustomInfoSection="Left" Width="100%" meta:resourceKey="AspNetPager1" Style="font-size: 14px"
                        InputBoxStyle="width:19px" CustomInfoHTML="当前页  <font color='red'><b>%CurrentPageIndex%</b></font> 总页数  %PageCount%  当前条数 %StartRecordIndex%-%EndRecordIndex%"
                        FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页">
                    </webdiyer:AspNetPager>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
